<template>
  <div>
    <h1>选择你喜欢的专栏</h1>
    <input type="checkbox" v-model="list" value="科幻" /><span>科幻</span>
    <input type="checkbox" v-model="list" value="喜剧" /><span>喜剧</span>
    <input type="checkbox" v-model="list" value="动漫" /><span>动漫</span>
    <input type="checkbox" v-model="list" value="冒险" /><span>冒险</span>
    <input type="checkbox" v-model="list" value="科技" /><span>科技</span>
    <input type="checkbox" v-model="list" value="军事" /><span>军事</span>
    <input type="checkbox" v-model="list" value="娱乐" /><span>娱乐</span>
    <input type="checkbox" v-model="list" value="奇闻" /><span>奇闻</span>
    <ul>
      <li v-for="(item, index) in list" :key="index">{{ item }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [],
    };
  },
  methods: {},
};
</script>

<style>
</style>